<!DOCTYPE html>
<html>
<head>
    <title>中铁附近幼儿园摇号情况</title>
    <style>
        table {
            border-collapse: collapse;
            width: 900px;
            margin: auto;
        }

        th, td {
            border: 1px solid black;
            padding: 8px;
            text-align: center;
        }

        th {
            background-color: #f2f2f2;
        }

        h1 {
            text-align: center;
        }
    </style>
</head>
<body>
<h1>中铁-晨夕小铺福利团购</h1>
<a href="https://xqzsrx.cdzk.org/main">获取token</a>
<table>
    <tr>
        <th>更新时间</th>
        <th>中和招生总人数</th>
        <th>中和已报名人数</th>
    </tr>
    <tr>
        <td>{{update}}</td>
        <td>{{total_num}}</td>
        <td>{{total_num1}}</td>
    </tr>

</table>
<table>
    <thead>
    <tr>
        <th>幼儿园id</th>
        <th>幼儿园名称</th>
        <th>招收计划</th>
        <th>已报名人数</th>
        <th>摇中概率</th>
        <th>距离中铁(km)</th>
    </tr>
    </thead>
    <tbody>
    {% for item in data %}
    <tr>
        <td>{{ item['schoolId'] }}</td>
        <td>{{ item['schoolName'] }}</td>
        <td>{{ item['realPlanCount'] }}</td>
        <td>{{ item['applyCount'] }}</td>
        <td>{{ item['gl'] }}</td>
        <td>{{ item['distance'] }}</td>
    </tr>
    {% endfor %}
    </tbody>
</table>
</body>
</html>